package com.dubito.qmuitest

import android.os.Bundle
import android.view.LayoutInflater
import com.qmuiteam.qmui.arch.QMUIActivity
import com.qmuiteam.qmui.util.QMUIStatusBarHelper
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : QMUIActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        QMUIStatusBarHelper.translucent(this)
        QMUIStatusBarHelper.setStatusBarLightMode(this)
        val root = LayoutInflater.from(this).inflate(R.layout.activity_main, null)
        setContentView(root)
    }


    override fun translucentFull(): Boolean {
        return true
    }
}
